package com.wxy.service;

import com.wxy.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wxy.entity.vo.ConsumeVo;
import com.wxy.entity.vo.RefundVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tutu
 * @since 2022-11-07
 */
public interface UserService extends IService<User> {

    //查询用户钱包余额
    User getBalance(String id);

    //用户消费的接口
    void consume(ConsumeVo consumeVo);

    //用户退款的接口
    void refund(RefundVo refundVo);
}
